package com.odp.entity;

public class Code {
    /**
     * 成功尾数为1，失败尾数为0
     *
     */


    public static final Integer RETURN_TOKEN_OK=23001;//返回token成功
    public static final Integer RETURN_TOKEN_FAIL=23000;//返回token失败

    public static final Integer ADD_OK=24001;
    public static final Integer ADD_ERR=24000;

    public static final Integer DELETE_OK=24011;
    public static final Integer DELETE_ERR=24010;

    public static final Integer UPDATE_OK=24021;
    public static final Integer UPDATE_ERR=24020;

    public static final Integer SELECT_OK=24031;
    public static final Integer SELECT_ERR=24030;



    public static final Integer ADD_POST_OK=24041;//发帖成功
    public static final Integer ADD_POST_FAIL=24040;//发帖失败

    public static final Integer SUBSCRIBE_OK=24051;//订阅成功
    public static final Integer SUBSCRIBE_FAIL=24050;//订阅失败

    public static final Integer LIKE_OK=24051;//点赞成功
    public static final Integer LIKE_FAIL=24050;//点赞失败

    public static final Integer UNLIKE_OK=24061;//不感兴趣

    public static final Integer COMMENT_OK=24061;//评论成功
    public static final Integer COMMENT_FAIL=24060;//评论失败

    public static final Integer REPLY_OK=24071;//回复成功
    public static final Integer REPLY_FAIL=24070;//回复失败

    public static final Integer GET_POST_OK=24081;//社区模块获取帖子成功
    public static final Integer GET_POST_FAIL=24080;//社区模块获取帖子失败

    public static final Integer UNSUBSCRIBE_OK=24091;//取关成功
    public static final Integer UNSUBSCRIBE_FAIL=24090;//取关失败

    public static final Integer GET_POSTDETAIL_HEAD_OK=24101;//获取帖子详情成功
    public static final Integer GET_POSTDETAIL_HEAD_FAIL=24100;//获取帖子详情成功

    public static final Integer GET_POSTDETAIL_CONTENT_OK=24111;//获取帖子详情成功
    public static final Integer GET_POSTDETAIL_CONTENT_FAIL=24110;//获取帖子详情成功

//    public static final Integer ARITHMETIC_EXP=50010;

//    public static final Integer BUSINESS_EXP=50000;
//    public static final Integer BUSINESS_ARITHMETIC_EXP=500010; //业务异常里面的算术异常
//
//    public static final Integer SYSTEM_EXP=51000;
//
//    public static final Integer UNKNOWN_EXP=52000;

}
